<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand" />
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
<title>帖子名 课程-答疑</title>

<%@ include file="/common/commonLib.jsp"%>
<link rel="stylesheet" type="text/css" href="<c:url value='/css/forum-post.css'/>" />
<link rel="stylesheet" type="text/css" href="<c:url value='/wangEditor/dist/css/wangEditor.css'/>" />
<script src="<c:url value='/js/forum-post.js'/>" type="text/javascript" charset="utf-8"></script>

</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12">
				<%@include file="/common/header.jsp"%>
			</div>
			<div class="col-md-12">
				<%@include file="common/courseHeader.jsp"%>
			</div>
			<div class="col-md-3">
				<%@include file="common/courseLeft.jsp"%>
			</div>
			<div class="col-md-9">
				<%@include file="common/courseNavbar.jsp"%>
			</div>
			<div class="col-md-9">
				<!-- 课程-答疑-版块-->
				<!-- 内容 start -->
				<div class="forum-module-index">
					<div id="postUrl" class="bm cl">
						<div class="z">
							<a href="#" class="nvhm" title="首页"></a>
							<em>></em>
							<a href="#">学习心得</a>
							<em>></em>
							<a href="#">帖子名</a>
						</div>
					</div>
					<div id="postcontent" class="wp cl">
						<div id="cp" class="pgs mbm cl">
							<div class="pgt">
								<div class="pg">									
									<a class="last-page prev">&nbsp;&nbsp;</a>									
								    <label>										
										<span class="page-number">2页 / 10页</span>
									</label>
									<a class="next-page nxt">下一页</a>
								</div>
							</div>
							<span class="pgb y" style="display:none;"><a href="#">返&nbsp;回</a></span>
							<a href="#" id="newpost-1" title="发新帖">
								<img alt="发新帖" src="http://localhost:8080/CourseSupport/resource/picture/34398522A648B6DC4989536802932D9F">
							</a>							
						</div>
						<div id="post-reply-list" class="pl bm">
							<!-- 帖子的title -->
							<table id="post--header" cellspacing="0" cellpadding="0">
								<tbody>
									<tr>
										<td class="pls ptn pbn">
											<div class="hm ptn">												
												<span class="xg1">查看:</span>
												<span class="xi1">55</span>
												<span class="pipe">|</span>
												<span class="xg1">回复:</span>
												<span class="xi1">5</span>	
											</div>
										</td>
										<td class="plc ptm pbn vwthd">
											<h1 class="ts">
												<span id="post-title">帖子名帖子名帖子名</span>
											</h1>
										</td>
									</tr>
								</tbody>
							</table>
							<table cellspacing="0" cellpadding="0" class="decoration-border">
								<tbody>
									<tr>
										<td class="pls"></td>
										<td class="plc"></td>
									</tr>
								</tbody>
							</table>
							<!-- 帖子的内容 -->
							<div id="post_1">
								<table >
									<tbody>
										<tr>
											<td class="pls">
												<div class="pls favatar">
													<div class="pi">
														<div class="author">
															<span class="xw1">王一</span>
														</div>
													</div>
													<div>
														<div class="avatar">
															<a class="avtm">
																<img src="http://localhost:8080/CourseSupport/resource/picture/34398522A648B6DC4989536802932D9F">
															</a>
														</div>
													</div>
												</div>
											</td>
											<td class="plc">
												<div class="pi">
													<div class="pti">
														<div class="author">
															<em style="float: left;">发表于 2-18-01-17 10:00</em>
															<em class="comment-to"></em>
															<em style="float:right;">1#</em>
														</div>
													</div>
												</div>
												<div class="pct">
													<div class="pcb">
														<div class="t_fsz">															
															<table class="post-content" cellspacing="0" cellpadding="0">
																<tbody>
																	<tr>
																		<td class="t_f">帖子内容帖子内容帖子内容帖子内容容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容</td>
																	
																	</tr>
																</tbody>
															</table>
														</div>
														
													</div>
												</div>
											</td>
										</tr>
										<tr>
											<td class="pls"></td>
											<td class="plc" style="overflow: visible;">
												<div class="po hin">
													<div class="pob cl">
														<p style="display:none;">
															<a>回复</a>
														</p>
													</div>
												</div>
											</td>											
										</tr>
										<tr class="decoration-border">
											<td class="pls"></td>
											<td class="plc"></td>
										</tr>
									</tbody>
								</table>
							</div>
							<!-- 帖子的评论 -->
							<div id="post_reply_1">
								<table >
									<tbody>
										<tr>
											<td class="pls">
												<div class="pls favatar">
													<div class="pi">
														<div class="author">
															<span class="xw1">王一</span>
														</div>
													</div>
													<div>
														<div class="avatar">
															<a class="avtm">
																<img src="http://localhost:8080/CourseSupport/resource/picture/34398522A648B6DC4989536802932D9F">
															</a>
														</div>
													</div>
												</div>
											</td>
											<td class="plc">
												<div class="pi">
													<div class="pti">
														<div class="author">
															<em style="float: left;">发表于 2-18-01-17 10:00</em>
															<em class="comment-to" style="float: left;margin-left: 10px;">To:王一二</em>
															<em style="float:right;">2#</em>
														</div>
													</div>
												</div>
												<div class="pct">
													<div class="pcb">
														<div class="t_fsz">															
															<table class="post-content" cellspacing="0" cellpadding="0">
																<tbody>
																	<tr>
																		<td class="t_f">帖子内容帖子内容帖子内容帖子内容容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容帖子内容</td>
																	
																	</tr>
																</tbody>
															</table>
														</div>
														
													</div>
												</div>
											</td>
										</tr>
										<tr>
											<td class="pls"></td>
											<td class="plc" style="overflow: visible;">
												<div class="po hin">
													<div class="pob cl">
														<p style="display:none;">
															<a>回复</a>
														</p>
													</div>
												</div>
											</td>											
										</tr>
										<tr class="decoration-border">
											<td class="pls"></td>
											<td class="plc"></td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
						<div id="cp" class="pgs mbm cl">
							<div class="pgt">
								<div class="pg">									
									<a class="last-page prev">&nbsp;&nbsp;</a>									
								    <label>										
										<span class="page-number">2页 / 10页</span>
									</label>
									<a class="next-page nxt">下一页</a>
								</div>
							</div>
							<span class="pgb y" style="display:none;"><a href="#">返&nbsp;回</a></span>
							<a href="#" id="newpost-1" title="发新帖">
								<img alt="发新帖" src="http://localhost:8080/CourseSupport/resource/picture/34398522A648B6DC4989536802932D9F">
							</a>							
						</div>
						<!-- 富文本编辑框 -->
						<div class="reply-post-block">
							<div id="editor-task"></div>
							<div class="reply-btn-bar" style="display:none;">
								<input type="button" id="reply-post-btn" class="btn btn-primary" value="确定">
							</div>
						</div>
					</div>
				</div>
				<!-- 内容 end -->
			</div>

		</div>
	</div>


	<!-- 帖子创建 -->
	<div class="row" id="create-new-post-layer" style="display: none;">
		<div class="col-md-1"></div>
		<div class="col-md-10 course-forum-creat">
			<div class="row">
				<div class="col-md-12">
					<!-- 帖子标题 -->
					<label for="">帖子标题</label> <input type="text" class="form-control" name="post-name">
				</div>
			</div>

			<div class="row">
				<div class="col-md-12">
					<label for="">描述</label>
				</div>
				<div class="col-md-12">
					<div id="editor-answer"></div>
				</div>
			</div>
			<div class="row" style="margin-top: 2rem; margin-bottom: 2rem; text-align: center;">
				<input type="button" id="post-creat-btn" class="btn btn-success" value="发表">
			</div>
		</div>
		<div class="col-md-1"></div>
	</div>
	
	<%@include file="/common/footer.jsp"%>

	<script src="<c:url value='/wangEditor/dist/js/wangEditor.js'/>" type="text/javascript" charset="utf-8"></script>
</body>
<script>
	$(document).ready(function() {
		init();
		initAnswer();
		contentListener();
	})
</script>
</html>